﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="tm_SendMessage.ascx.cs" Inherits="controls_tm_SendMessage" %>
<%@ Register Src="tm_selectUserFromList.ascx" TagName="tm_selectUserFromList" TagPrefix="uc1" %>
<asp:Panel ID="pnlContact" runat="server" Width="100%" >
<table border="0" cellpadding="0" cellspacing="0" class="table" style="width: 100%">
    <tr>
        <th>
            <asp:Label ID="lblTitle" runat="server" Text="Thông điệp mới" CssClass="titletext2"></asp:Label></th>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                <tr>
                    <td style="width: 5px">
                    </td>
                    <td style="text-align: left; width: 12%;">
                        <asp:Label ID="lblOnDate" runat="server" CssClass="titletext3" Text="Thời gian : "></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtOnDate" runat="server" Width="90%" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 5px;">
                    </td>
                    <td style="vertical-align: top; text-align: left;">
                        <asp:Label ID="lblReceiver" runat="server" CssClass="titletext3" Text="Người nhận : "></asp:Label></td>
                    <td >
                        <asp:TextBox ID="txtReceiverName" runat="server" ReadOnly="True" Width="90%"></asp:TextBox><asp:LinkButton ID="btnReceiverSelect" runat="server" OnClick="btnReceiverSelect_Click">Chọn</asp:LinkButton><br />
<uc1:tm_selectUserFromList ID="Tm_selectUserFromList" runat="server" Visible="false" />

</td>
                </tr>
                <tr>
                    <td style="width: 5px;">
                    </td>
                    <td>
                        <asp:Label ID="lblRelatedInfo" runat="server" CssClass="titletext3" Text="Liên quan : "></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtRelatedInfo" runat="server" ReadOnly="True" Width="90%"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 5px">
                    </td>
                    <td>
                        <asp:Label ID="Label1" runat="server" CssClass="titletext3" Text="Chủ đề :"></asp:Label></td>
                    <td >
                        <asp:TextBox ID="txtMsgSubject" runat="server" Width="90%"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 5px">
                    </td>
                    <td valign="top">
                        <asp:Label ID="Label2" runat="server" CssClass="titletext3" Text="Nội dung :"></asp:Label></td>
                    <td>
                        <asp:TextBox ID="txtMsgBody" runat="server" Height="200px" TextMode="MultiLine" Width="90%"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 5px">
                    </td>
                    <td>
                    </td>
                    <td style="width: 490px">
                        <asp:CheckBox ID="chkAlsoSendToMail" runat="server" Text="Gửi bản sao qua email" CssClass="titletext3" /></td>
                </tr>
                <tr>
                    <td style="width: 5px; height: 22px;">
                    </td>
                    <td>
                    </td>
                    <td >
                        <asp:Label ID="lblRequireReplyDay" runat="server" CssClass="titletext3" Text="Vui lòng trả lời trong "></asp:Label><asp:DropDownList
                            ID="ddlRequireReplyDay" runat="server" Width="62px">
                            <asp:ListItem Selected="True">1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                        </asp:DropDownList><asp:Label ID="Label4" runat="server" CssClass="titletext3" Text="ngày làm việc"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 5px; height: 24px">
                    </td>
                    <td style="height: 24px">
                    </td>
                    <td style="height: 24px">
                        <asp:Button ID="btnSend" runat="server" CssClass="btn" OnClick="btnSend_Click"
                            Text="Gửi" Width="80px" /><asp:Button ID="btnReturn" runat="server" Text="Trở về" OnClientClick="javascript:history.back();" CssClass="btn" Width="80px" /></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
    <asp:Label ID="lblReceiverIdList" runat="server" ToolTip="Separated by commas" Visible="False"></asp:Label></asp:Panel>
<center>
<asp:Label ID="lblMessage" runat="server"></asp:Label>
</center>
  

